Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable additional emissions types #16

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

AAmedeo
Copy link

@AAmedeo AAmedeo commented May 23, 2022

TLDR

Add the ability to model multiple emission types at the same time.

The commits

Enable modeling multiple emission types

Add the ability to model multiple emission types at the same time.

This feature is composed by various parts:

  1. Need to be able to define in sets what are the different emission types that need to be modeled
  2. Need to change the emission related parameters (i.e. emission per tech, emission taxes, emission caps) to be able to collect parameters for all the emission types defined
  3. Need to consider all defined emission types' costs and constraints in the model optimization
  4. Need to change the outputs in order accomodate for a variable number of tracked constraints

Add emission tests
Add a unit test to make sure that the emission functionality is working as intended.

I tested how hypatia models emissions by checking that:
1. The model correctly tracks the emission generate by the model solution
2. The model correctly considers emission cost to find the optimal solution
3. The model correctly considers emission caps (global and regional) to find the optimal solution

We check these feature in the 4 main situations:
1. Single region, planning
2. Single region, operation
3. Multi region, planning
4. Multi region, operation

The tests are run by
python3 -m unittest hypatia/backend/tests/EmissionTests.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant